home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / DEMOCIAL / DEMODBS1.LZH / UNINSTAL.BAT < prev   
DOS Batch File  |  1986-03-20  |  3KB  |  83 lines

  1. ECHO OFF
  2. CLS
  3. :START
  4. ECHO  dBASE III PLUS SAMPLER UNINSTALLATION
  5. ECHO ┌──────────────────────────────────────────────────────────────┐
  6. ECHO │                  MEMORY AND DRIVE SELECTION                  │
  7. ECHO │══════════════════════════════════════════════════════════════│
  8. ECHO │     A. 256K and 2 floppy drives                              │
  9. ECHO │     B. More than 256k and 2 floppy drives                    │
  10. ECHO │     C. 256k and 1 floppy drive and 1 harddisk                │
  11. ECHO │     D. More than 256k and 1 floppy drive and 1 harddisk      │
  12. ECHO └──────────────────────────────────────────────────────────────┘                                                  
  13.  
  14. ERRSET UNinstall which configuration? :
  15.  
  16. IF ERRORLEVEL 5 GOTO START
  17. IF ERRORLEVEL 4 GOTO D
  18. IF ERRORLEVEL 3 GOTO C
  19. IF ERRORLEVEL 2 GOTO B
  20. IF ERRORLEVEL 1 GOTO A
  21. :A
  22. CLS
  23. ECHO Put Sampler disk 1 in drive A, and your Dos Disk in drive B
  24. ECHO (Remember to remove any write protect tabs from disk)
  25. PAUSE
  26. REN CONFIG.DB CONFI256.DB
  27. REN CONFIG.OLD CONFIG.DB
  28. B:
  29. DEL CONFIG.SYS
  30. IF EXIST CONFIGS.OLD REN CONFIGS.OLD CONFIG.SYS
  31. CLS
  32. ECHO dBASE III SAMPLER has been successfully UNinstalled.
  33. ECHO (Note: If your Dos Disk contains a file called Config.sys     
  34. ECHO it may be necessary to re-boot your computer )
  35. GOTO END
  36. :B
  37. CLS
  38. ECHO Put Sampler disk 1 in drive A, and your Dos Disk in drive B
  39. ECHO (Remember to remove any write protect tabs from disk)
  40. PAUSE
  41. B:
  42. DEL CONFIG.SYS
  43. IF EXIST CONFIGS.OLD REN CONFIGS.OLD CONFIG.SYS
  44. CLS
  45. ECHO dBASE III SAMPLER has been successfully UNinstalled
  46. ECHO (Note: If your Dos Disk contains a file called Config.sys     
  47. ECHO  it may be necessary to re-boot your computer )
  48. GOTO END
  49.  
  50. :C
  51. C:
  52. CD \
  53. DEL CONFIG.SYS
  54. IF EXIST CONFIGS.OLD RENAME CONFIGS.OLD CONFIG.SYS
  55.  
  56. CD \SAMPLER
  57. CLS
  58. ECHO Deleting files from sampler subdirectory.
  59. DEL \sampler\*.*
  60. CD \ 
  61. RD SAMPLER
  62. CLS
  63. ECHO dBASE III SAMPLER has been successfully UNinstalled.
  64. ECHO (Note: If your Root directory contains a file called Config.sys     
  65. ECHO  it may be necessary to re-boot your computer )
  66. GOTO END
  67. :D
  68. C:
  69. CD \
  70. DEL CONFIG.SYS
  71. IF EXIST CONFIGS.OLD REN CONFIGS.OLD CONFIGS.SYS
  72. CD \SAMPLER
  73. CLS
  74. ECHO Deleting files from sampler subdirectory
  75. DEL \SAMPLER\*.*
  76. CLS
  77. ECHO dBASE III SAMPLER has been successfully UNinstalled.
  78. ECHO (Note: If your Root directory contains a file called Config.sys     
  79. ECHO  it may be necessary to re-boot your computer )
  80.  
  81. GOTO END
  82. :END
  83.